package com.pn.mapper;

import com.pn.model.UserRole;

public interface UserRoleMapper {
    int deleteByPrimaryKey(Integer userRoleId);

    int insert(UserRole record);

    int insertSelective(UserRole record);

    UserRole selectByPrimaryKey(Integer userRoleId);

    int updateByPrimaryKeySelective(UserRole record);

    int updateByPrimaryKey(UserRole record);
    //删除用户已有权限
    void removeUserRoleByUid(Integer userId);
    //添加用户角色关系
    void insertUserRole(UserRole userRole);
}